﻿using System;

namespace SFw.Core.UI
{
    public partial class UIWindow
    {
        /// <summary>
        /// 绑定UI自动生成代码组件
        /// </summary>
        public static void BindAll()
        {
            _bindAllCallBack?.Invoke();
        }

        public static Action BindAllCallBack
        {
            set => _bindAllCallBack = value;
        }
        private static Action _bindAllCallBack;
    }
}
